package com.xxdd.lifecyclelib

import android.app.Activity
import android.os.Bundle
import android.view.MotionEvent

interface LifecycleInterface {
    open fun attach(context: Activity)
    open fun onCreate(savedInstanceState : Bundle?)
    open fun onStart()
    open fun onResume()
    open fun onStop()
    open fun onDestroy()
    open fun onSaveInstanceState(outState : Bundle)
    open fun onTouchEvent(event : MotionEvent)  : Boolean
    open fun onBackPressed()
}